﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TMS_Master.Dto;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace TMS_Master.Interface
{
    /// <summary>
    /// 物资入库
    /// </summary>
    public interface IMaterials_CompanyService : IApplicationService
    {
        //添加
        Task<int> CreateMater(Materials_CompanyUpdateDto Mc);

        //显示
        Task<PagedResultDto<MaterialsDto>> GetList(int PageIndex, int PageSize, string name, string Typename , string addr, string payname , string person);

        //修改
        Task<Materials_CompanyDto> EditMater(Materials_CompanyUpdateDto Mc);

        //反填数据
        Task<Materials_CompanyDto> FullMater(Guid Id);

        //删除
        Task<int> DelMater(Guid Id);

        //详情
        Task<Materials_CompanyDto> Details(Guid Id);
    }
}
